<h1>Cm social medias List</h1>

<table>
  <thead>
    <tr>
      <th>Id</th>
      <th>Site</th>
      <th>Url</th>
    </tr>
  </thead>
  <tbody>
    <?php foreach ($cm_social_medias as $cm_social_media): ?>
    <tr>
      <td><a href="<?php echo url_for('socialMedia/show?id='.$cm_social_media->getId()) ?>"><?php echo $cm_social_media->getId() ?></a></td>
      <td><?php echo $cm_social_media->getSite() ?></td>
      <td><?php echo $cm_social_media->getUrl() ?></td>
    </tr>
    <?php endforeach; ?>
  </tbody>
</table>

  <a href="<?php echo url_for('socialMedia/new') ?>">New</a>
